package com.wyh.book.config;

import com.wyh.book.model.Result;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2025-07-16
 * Time: 20:09
 */
//@ControllerAdvice
//public class ExceptionAdvice {
//    @ExceptionHandler
//    public Result handle(Exception e){
//
//        return Result.fail("内部错误");
//    }
//}
